package com.ruoyi.wp.service.impl;

import com.ruoyi.wp.domain.IDoctorRegister;
import com.ruoyi.wp.mapper.IDoctorRegisterMapper;
import com.ruoyi.wp.service.IDoctorRegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IDoctorRegisterServiceImpl implements IDoctorRegisterService {

    @Autowired
    private IDoctorRegisterMapper doctorRegisterMapper;

    @Override
    public int save(IDoctorRegister doctorRegister) {
        return doctorRegisterMapper.insert(doctorRegister);
    }
}
